package cn.zy.gvs.v1.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import java.io.IOException;

@Controller
public class IndexController {

    @GetMapping("/")
    @ResponseBody
    public String toLoginPage() throws IOException {
//        return "redirect:/admin";
        return "^_^ 欢迎使用Go-View后端api服务..";
    }
}
